#ifndef							GUI_H
#define							GUI_H

#include						"trayicon.h"
#include						"apigui.h"

class							Gui
{
public:
	Gui(QWidget *parent = 0);
	~Gui();

private:
	TrayIcon					_icon;

public :
	friend						apiGui;
	apiGui*						getApi();
	const QString				getIp() const;
	const QString				getPort() const;
	bool						isInfoFilled();
	quint16						isInfoValid();
	void						connectError(quint16 error = 0);
};

#endif // GUI_H
